Skip to content

Improve Responses WebSocket timing telemetry - #32256

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5f0a1c60c237abed17cc8b2d569ca77fbbc6ec41
Jul 10, 2026
Merged

Improve Responses WebSocket timing telemetry#32256
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5f0a1c60c237abed17cc8b2d569ca77fbbc6ec41

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 10, 2026

Copy link
Copy Markdown

Improve Responses WebSocket timing telemetry

What changed

  • Emit responsesapi.websocket_timing payloads as opt-in trace events with request context, while excluding them from diagnostic uploads and persisted logs by default.
  • Preserve fractional-millisecond TBT values in telemetry histograms and runtime summaries, rounding only when formatting the TUI label.

Testing

  • Cover timing-log filtering, fractional TBT collection and display, and existing whole-millisecond duration behavior.

## What changed

- Emit `responsesapi.websocket_timing` payloads as opt-in trace events with request context, while excluding them from diagnostic uploads and persisted logs by default.
- Preserve fractional-millisecond TBT values in telemetry histograms and runtime summaries, rounding only when formatting the TUI label.

## Testing

- Cover timing-log filtering, fractional TBT collection and display, and existing whole-millisecond duration behavior.

GitOrigin-RevId: 5f0a1c60c237abed17cc8b2d569ca77fbbc6ec41
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/5f0a1c60c237abed17cc8b2d569ca77fbbc6ec41 branch from b4ad7cb to 9993fb8 Compare July 10, 2026 20:01
@copyberry
copyberry Bot merged commit 9993fb8 into main Jul 10, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/5f0a1c60c237abed17cc8b2d569ca77fbbc6ec41 branch July 10, 2026 20:03
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants